package org.wqp.springboot;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.wqp.springboot.controller.IndexController;

@SpringBootApplication
@ServletComponentScan(basePackageClasses = IndexController.class)
public class SpringbootApplication {

	public static void main(String[] args) {

		new SpringApplicationBuilder(SpringbootApplication.class).properties("server.port=9090").run(args);
	}
}
